package com.xzc.java8.B_Stream.b_distinct;

import java.util.Arrays;
import java.util.List;

public class DistinctTest {

    public static void main(String[] args) {
        List<Integer> number = Arrays.asList(1, 2, 1, 3, 3, 2, 4, 6, 6);
        number.stream().filter(i -> i % 2 == 0).distinct().forEach(System.out::println);
    }
}
